<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>个人博客</title>

<meta name="keywords" content="" />

<meta name="description" content="" />

<link href="./Public/Home/css/base.css" rel="stylesheet">

<link href="./Public/Home/css/index.css" rel="stylesheet">

<script type="text/javascript" src="./Public/Home/js/jquery.min.js"></script>

<script type="text/javascript" src="./Public/Home/js/sliders.js"></script>

<!--[if lt IE 9]>

<script src="js/modernizr.js"></script>

<![endif]-->

<!-- 返回顶部调用 begin -->

<script type="text/javascript" src="./Public/Home/js/up/jquery.js"></script>

<script type="text/javascript" src="./Public/Home/js/up/js.js"></script>

<!-- 返回顶部调用 end-->

</head>

<body style="background: url() no-repeat;background-size: cover; ">

{{include file="../Common/header"}}

<article>



  <div class="l_box f_l">

    <!-- banner代码 结束 -->

    <?php 

    	$p=NAME;

			$a=VALUE;

			$t=TOTAL;

    	?>

    <div class="topnews">

      <h2>

      	<span>

      		<a href="javascript:;" target="_blank">共计(<?php echo $t?>)篇</a>

      	</span>

      	<b><?php echo $a, $p ?>文章</b>推荐</h2>

      {{foreach from="$data" value="$v"}}

      <div class="blogs">

        <figure><img src="{{$v['thumb']}}"></figure>

        <ul>

          <h3><a href="Content_{{$v['aid']}}.html">{{$v['title']}}</a></h3>

          <p>

          	{{$v['digest']}}

          </p>

          <p class="autor">

          	{{foreach from="$v['tag']" value="$t"}}

          	  <span class="lm f_l">

          	  	<a href="list_{{$t['tid']}}.html">{{$t['tname']}}</a>

          	  	

          	  </span>

          	{{endforeach}}

          	<span class="dtime f_l">{{date('Y-m-d',$v['sendtime'])}}</span>

          	<span class="viewnum f_r">浏览（<a href="javascript:;">{{$v['click']}}</a>）</span>

          	<span class="pingl f_r">评论（<a href="javascript:;">30</a>）</span>

          </p>

        </ul>

      </div>

      {{endforeach}}

    </div>

  </div>

  <!--文章内容结束-->

  {{include file="../Common/right"}}

  <!--r_box end --> 

</article>

{{include file="../Common/foot"}}

</body>

</html>

